package com.vf.admin.miaodong.entity;

import com.vf.admin.common.db.annotation.Column;
import com.vf.admin.common.db.annotation.NoColumn;
import com.vf.admin.common.db.annotation.Table;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

//亲密度表
@Data
@Table(name = "app_intimacy_guard")
public class AppIntimacyGuard implements Serializable {

    private static final long serialVersionUID = 1L;

    @Column(length = 11, name = "id", index = true)
    private Integer id;
    //用户id
    private Integer userId;
    //亲密用户id
    private Integer beiUserId;
    //亲密度
    private BigDecimal intimacy;
    //是否守护，1是，2否，默认2否
    private Integer isGuard;
    //礼物id
    private Integer giftId;
    //礼物数量
    private Integer giftNum;
    //1、钻石  2、金币
    private Integer giftFangShi;
    //礼物金额
    private BigDecimal giftMoney;

    private Date createtime;

    @NoColumn
    private BigDecimal totalIntimacy;

}
